{% extends "base.html" %}
{% block title %}{{ blog.title }}{% endblock%}
{% block content %}

<h2>{{ blog.title|escape}}</h2>

{{ blog.pub_date|date:"j.M.Y" }}<br>
ID postu to:{{blog.id}}<br />
 Tagi:
{% for tag in blog.tag.all %}
<a href="{{ tag.get_absolute_url }}">{{ tag.name }}</a>
{% if not forloop.last %}, {% endif %}
{% endfor %}
<br />
Technorati Tags: 
{% for tag in blog.tag.all %}
<a href="http://technorati.com/tag/{{tag.name}}">{{tag.name}}</a>
{% if not forloop.last %}, {% endif %}
{% endfor %}
<br/ >

{% load markup %}
<p><a href="{{ blog.mark_pp}}">Goo</a>
<p>{{ blog.intro|markdown }}</p>
<p>{{blog.body|markdown }}</p>
<p>Napisane przez: <a href="{{ blog.author.get_absolute_url }}">
{{blog.author.nick|upper }}</a><p/>
<p>
{% ifequal blog.pub_date blog.last_mod %}
 Booom 
{% else % }
 notBoom 
{% endifequal %}

<hr />
<p> Dodaj do:

<ul>
<li><a href="http://del.icio.us/post?url=http://mysite.com/{{blog.slug}}
&title={{blog.title}}"><img src="http://www.exploding-boy.com/images/logos/delicious.gif"/></a>
</ul>



{% endblock %}
